package com.example.open.interceptor;

import com.example.base.open.OpenUserHandlerService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Slf4j
@Service
public class OpenUserHandlerServiceImpl implements OpenUserHandlerService {

    @Override
    public boolean before(HttpServletRequest request, HttpServletResponse response, Object handler) {
        String open=request.getHeader("open");

        return true;
    }
}
